<template>
  <a-layout>
    <a-layout-header class="header">
      <div class="logo" />
      <a-menu
          theme="dark"
          mode="horizontal"
          v-model:selectedKeys="selectedKeys1"
          :style="{ lineHeight: '64px' }"
      >
        <a-menu-item key="1">nav 1</a-menu-item>
        <a-menu-item key="2">nav 2</a-menu-item>
        <a-menu-item key="3">nav 3</a-menu-item>
      </a-menu>
    </a-layout-header>
<router-view/>
    <a-layout-footer style="text-align: center">
      xx电子书
    </a-layout-footer>
  </a-layout>
</template>
<script lang="ts">
import {DownloadOutlined, LaptopOutlined, NotificationOutlined, UserOutlined} from '@ant-design/icons-vue';
import {  ref } from 'vue';
import { defineComponent } from 'vue';


export default defineComponent({
  name: 'Home',
  components: {

  },
  setup() {
    return {
      size: ref('large'),
    };
  },
});
</script>
<style>
#components-layout-demo-top-side .logo {
  float: left;
  width: 120px;
  height: 31px;
  margin: 16px 24px 16px 0;
  background: rgba(255, 255, 255, 0.3);
}

.ant-row-rtl #components-layout-demo-top-side .logo {
  float: right;
  margin: 16px 0 16px 24px;
}

.site-layout-background {
  background: #fff;
}
</style>
